package com.yuncommunity.runcircle.conf;

import com.oldfeel.conf.BaseApplication;
import com.oldfeel.conf.BaseConstant;
import com.pgyersdk.crash.PgyCrashManager;

/**
 * Created by oldfeel on 11/22/15.
 */
public class MyApplication extends BaseApplication {
    @Override
    public void onCreate() {
        super.onCreate();
        PgyCrashManager.register(this);
    }

    @Override
    public void initBaseConstant() {
        BaseConstant.getInstance().setRootUrl(Constants.ROOT_URL);
        BaseConstant.getInstance().setPageSize(Constants.PAGE_SIZE);
    }
}
